<script setup lang="ts">
import HelloWorld from "@/components/HelloWorld.vue"
import Header from "@/components/header.vue"
import Banner from "@/components/banner.vue"
import List from "@/components/list.vue"
import Customer from "@/components/customer.vue"
import Tiktok from "@/components/tiktok.vue"
import Case from "@/components/case.vue"
import Footer from "@/components/footer.vue"
// import { useI18n } from 'vue-i18n'
// const { locale, t } = useI18n({
//   useScope: 'global'
// })
// const currentLocale = computed(() => locale.value)
// const switchLocale = () => {
//   locale.value = locale.value === 'zh' ? 'en' : 'zh'
//   localStorage.setItem('locale', locale.value) // 保存到本地存储
// }
</script>

<template>
  <div>
    <Header />
    <Banner />
    <List />
    <Customer />
    <Tiktok />
    <Case />
    <Footer />
  </div>
  <!-- <HelloWorld msg="Vite + Vue" /> -->
</template>

<style scoped></style>
